//:C04:nl.cpp
// Creating a manipulator
#include <iostream>
#include <ostream>
using namespace std;

ostream& nl(ostream& os) {
  return os << '\n';  
}

int main(void) {
  cout << "newlines" << nl << "between" << nl
       << "each" << nl << "word" << nl;  
}